<ion-modal-view>
    <ion-header-bar align-title="center" class="bar-energized-crm">
        <button class="button button-clear" ng-click="closeLoginForgetModal()">返回</button>
        <h1 class="title">{{loginForgetModal.title}}</h1>
        <!--<button class="button button-clear" ng-click="showLoginModal()" ng-if="!loginForgetModal.loginBtnHide">登录</button>-->
    </ion-header-bar>
    <ion-content class="crm-content">
        <!--<div class="crm-card padding">-->
            <!--<div class="crm-empty10"></div>-->
            <!--<input type="text" class="crm-input" placeholder="输入手机号码" ng-model="login.loginname">-->
            <!--<div class="crm-empty10"></div>-->
            <!--<div class="row">-->
                <!--<div class="col-50">-->
                    <!--<input type="text" class="crm-input" placeholder="输入验证码" ng-model="forgetPassword.code">-->
                <!--</div>-->
                <!--<div class="col-50" style="padding: 0 0 0 10px;">-->
                    <!--<a class="crm-a-button button" ng-class="{true: 'crm-a-button', false: 'crm-a-button-unable'}[login.loginname.length === 11]" ng-if="forgetPassword.showCodeBtn" ng-click="forgetPassword.sendCode4Phone()">获取验证码</a>-->
                    <!--<a class="crm-a-button-unable button" ng-if="!forgetPassword.showCodeBtn">{{forgetPassword.timer + 's'}}获取验证码</a>-->
                <!--</div>-->
            <!--</div>-->
        <!--</div>-->
        <div class="list">
            <div class="item item-input-inset">
                <label class="item-input-wrapper">
                    <input type="text" class="crm-input" placeholder="输入手机号码" ng-model="login.loginname">
                </label>
            </div>
            <div class="item item-input-inset" style="border:0;">
                <label class="item-input-wrapper">
                    <input type="text" class="crm-input" placeholder="输入验证码" ng-model="forgetPassword.code">
                </label>
                <button class="button button-small" ng-class="{true: 'crm-a-button', false: 'crm-a-button-unable'}[login.loginname.length === 11]" ng-if="forgetPassword.showCodeBtn" ng-click="forgetPassword.sendCode4Phone()">
                    获取验证码
                </button>
                <button class="button button-small" style="min-width: 80px" ng-if="!forgetPassword.showCodeBtn">{{forgetPassword.timer + 's'}}</button>
            </div>
        </div>
        <div class="padding">
            <p>如果验证码无法接收, 请拨打400客服电话查询</p>
            <a href="tel: 4001-888-733">4001-888-733</a>
        </div>
        <div class="crm-empty10"></div>
        <div class="padding">
            <button class="crm-a-button button button-block " ng-disabled="forgetPassword.code.length <= 0" ng-click="forgetPassword.next()" >下一步</button>
        </div>
    </ion-content>
</ion-modal-view>